package top.aicats.pattern.template.template;

/*
以打果汁为例
 */
public class TemplateClass {

    private IFruit fruit;
   public TemplateClass(IFruit fruit)
    {
        this.fruit = fruit;
    }

    public void removeFruitScalp()
    {
        this.fruit.removeScalp();
    }

    public void addSomeDelicious()
    {
        this.fruit.addSomeSeason();
    }

}
